<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <title><?php echo $this->get('config.site.title', 'MonAdmin管理系统'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit">
    <!-- Loading Bootstrap -->
    <link href="<?php echo $this->assets('/static/css/backend.css', ['monAdmin' => $config['site']['version']]);?>" rel="stylesheet">
    <!--[if lt IE 9]>
        <script src="<?php echo $this->assets('/static/js/html5shiv.min.js');?>"></script>
        <script src="<?php echo $this->assets('/static/js/respond.min.js');?>"></script>
    <![endif]-->
    <!-- RequireJS 配置信息 -->
    <script type="text/javascript">
        var require = {
            config: <?php echo json_encode($config, JSON_UNESCAPED_UNICODE);?>,
            assets: <?php echo json_encode($assetsConfig, JSON_UNESCAPED_UNICODE);?>
        };
    </script>
    <?php $this->putBlock('css');?>
</head>

<body class="hold-transition skin-blue sidebar-mini fixed <?php echo $config['multiplenav'] ? 'multiplenav' : ''; ?>"
    id="tabs">
    <div class="wrapper">

        <!-- 头部区域 -->
        <header id="header" class="main-header">
            <?php $this->load('comm/header'); ?>
        </header>

        <!-- 左侧菜单栏 -->
        <aside class="main-sidebar">
            <?php $this->load('comm/menu'); ?>
        </aside>

        <!-- 主体内容区域 -->
        <div class="content-wrapper tab-content tab-addtabs">
            <?php if($fixedmenu): ?>
            <div role="tabpanel" class="tab-pane active" id="con_<?php echo $fixedmenu['id'];?>">
                <iframe src="<?php echo $container->url->build($fixedmenu['name']);?>?addtabs=1" width="100%"
                    height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling-x="no"
                    scrolling-y="auto" allowtransparency="yes">
                </iframe>
            </div>
            <?php endif; ?>
        </div>
    </div>

    <!-- 加载JS脚本 -->
    <script src="<?php echo $this->assets('/static/js/require.min.js');?>" data-main="<?php echo $this->assets('/static/js/require-admin.js', ['v' => $config['site']['version']]);?>"></script>
</body>

</html>